Always emit unmap when a widget is unmapped
authorHavoc Pennington <hp@pobox.com>
Mon, 20 Dec 2010 18:04:45 +0000 (13:04 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 20 Dec 2010 18:04:45 +0000 (13:04 -0500)
commit9552152dd9c4c51fcb2847fdd15e118dd3c363f1
tree144093918582f83387b5ebacd417577e9c287669
parentb67c5af55bf611c013b2c43e6878281abd773530
Always emit unmap when a widget is unmapped

Previously, for performance reasons we would sometimes
skip invoking the unmap signal (and associated vfunc)
in favor of simply unrealizing. However, widgets then
had no way to clean stuff up when they were hidden
(but still inside a parent which was shown).

This patch also removes _gtk_tooltip_hide() which
was done in both unmap and unrealize in gtkwidget.c,
now can only be in unmap.

There are probably lots of things cleaned up in
unrealize that would now be better to move to unmap.

https://bugzilla.gnome.org/show_bug.cgi?id=629923
gtk/gtkwidget.c